package com.justech.eat.entity;

import lombok.*;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @program: eat-service
 * @description: 就餐记录模型
 * @author: feifei.li
 * @create: 2020-05-25 13:59
 **/
@Table(name = "e_acc_monitor_log")
@Entity
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class AccMonitorLog {

    /**
     * trigger_opt : -1
     * firstname : 宋向阳
     * vid_capture_path_name :
     * description :
     * event_point_name : 就餐窗口4
     * device_name : B1F新就餐机[115]
     * event_type : 22
     * vid_record_state : 0
     * pin : 860007104
     * card_no : 11425305
     * state_name : 就餐窗口4
     * vid_capture_state : 0
     * event_point_type : 0
     * event_point_id : 331
     * id : 38671243
     * state : 0
     * kqreadok : false
     * area : B栋1楼
     * jcreadok : false
     * create_time : 1590336195000
     * device_id : 108
     * device_sn : 0566141200164
     * verified : 6
     * dept :
     * vid_record_path_name :
     * lastname :
     * time : 1590336198000
     * status : 0
     */

    private int trigger_opt;
    private String firstname;
    private String jobNumber;
    private String vid_capture_path_name;
    private String description;
    private String event_point_name;
    private String device_name;
    private int event_type;
    private int vid_record_state;
    private String pin;
    private String card_no;
    private String state_name;
    private int vid_capture_state;
    private int event_point_type;
    private int event_point_id;
    @Id
    private int id;
    private int state;
    private boolean kqreadok;
    private String area;
    private boolean jcreadok;
    private Date create_time;
    private int device_id;
    private String device_sn;
    private int verified;
    private String dept;
    private String vid_record_path_name;
    private String lastname;
    private Date time;
    private int status;

    /*餐别：1午餐、2晚餐、3夜餐、4夜宵*/
    private int type;

}
